<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPH::FluidBody Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_s_p_h.html">SPH</a></li><li class="navelem"><a class="el" href="class_s_p_h_1_1_fluid_body.html">FluidBody</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="class_s_p_h_1_1_fluid_body-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SPH::FluidBody Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="class_s_p_h_1_1_fluid.html" title="Base class of all fluids. ">Fluid</a> body uses smoothing length to particle spacing 1.3 and carry out particle sorting every 100 iterations.  
 <a href="class_s_p_h_1_1_fluid_body.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="fluid__body_8h_source.html">fluid_body.h</a>&gt;</code></p>

<p>Inherits <a class="el" href="class_s_p_h_1_1_real_body.html">SPH::RealBody</a>.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a61d043ac01561700bfbc0074ad112a83"><td class="memItemLeft" align="right" valign="top"><a id="a61d043ac01561700bfbc0074ad112a83"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>FluidBody</b> (<a class="el" href="class_s_p_h_1_1_s_p_h_system.html">SPHSystem</a> &amp;system, SharedPtr&lt; <a class="el" href="class_s_p_h_1_1_shape.html">Shape</a> &gt; shape_ptr)</td></tr>
<tr class="separator:a61d043ac01561700bfbc0074ad112a83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8cf7d68924b62226cb730af4c817ebb"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_fluid_body.html#aa8cf7d68924b62226cb730af4c817ebb">updateCellLinkedList</a> () override</td></tr>
<tr class="separator:aa8cf7d68924b62226cb730af4c817ebb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4cd39b634ac687f72824d35bf8b603c2"><td class="memItemLeft" align="right" valign="top"><a id="a4cd39b634ac687f72824d35bf8b603c2"></a>
virtual <a class="el" href="class_s_p_h_1_1_fluid_body.html">FluidBody</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>ThisObjectPtr</b> () override</td></tr>
<tr class="separator:a4cd39b634ac687f72824d35bf8b603c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_real_body"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_real_body')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_real_body.html">SPH::RealBody</a></td></tr>
<tr class="memitem:aa38fc69d4ec76707930290a1fd3f5f16 inherit pub_methods_class_s_p_h_1_1_real_body"><td class="memItemLeft" align="right" valign="top"><a id="aa38fc69d4ec76707930290a1fd3f5f16"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>RealBody</b> (<a class="el" href="class_s_p_h_1_1_s_p_h_system.html">SPHSystem</a> &amp;sph_system, SharedPtr&lt; <a class="el" href="class_s_p_h_1_1_shape.html">Shape</a> &gt; shape_ptr)</td></tr>
<tr class="separator:aa38fc69d4ec76707930290a1fd3f5f16 inherit pub_methods_class_s_p_h_1_1_real_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a018474e97f61540deb510006908a7dec inherit pub_methods_class_s_p_h_1_1_real_body"><td class="memItemLeft" align="right" valign="top"><a id="a018474e97f61540deb510006908a7dec"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setUseSplitCellLists</b> ()</td></tr>
<tr class="separator:a018474e97f61540deb510006908a7dec inherit pub_methods_class_s_p_h_1_1_real_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f6e73ed3f8b92b42008202b57610151 inherit pub_methods_class_s_p_h_1_1_real_body"><td class="memItemLeft" align="right" valign="top"><a id="a4f6e73ed3f8b92b42008202b57610151"></a>
<a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getUseSplitCellLists</b> ()</td></tr>
<tr class="separator:a4f6e73ed3f8b92b42008202b57610151 inherit pub_methods_class_s_p_h_1_1_real_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3a2f5c38155f0eb4e24eb2510514c52 inherit pub_methods_class_s_p_h_1_1_real_body"><td class="memItemLeft" align="right" valign="top"><a id="af3a2f5c38155f0eb4e24eb2510514c52"></a>
<a class="el" href="namespace_s_p_h.html#ac592bbe202be73decfcbfe8201484ffa">SplitCellLists</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>getSplitCellLists</b> ()</td></tr>
<tr class="separator:af3a2f5c38155f0eb4e24eb2510514c52 inherit pub_methods_class_s_p_h_1_1_real_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af548a42b9668ab9d9f8083a8d31250fb inherit pub_methods_class_s_p_h_1_1_real_body"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_real_body.html#af548a42b9668ab9d9f8083a8d31250fb">assignBaseParticles</a> (<a class="el" href="class_s_p_h_1_1_base_particles.html">BaseParticles</a> *base_particles) override</td></tr>
<tr class="separator:af548a42b9668ab9d9f8083a8d31250fb inherit pub_methods_class_s_p_h_1_1_real_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28474a703c4b94ae70bf56002048a3ef inherit pub_methods_class_s_p_h_1_1_real_body"><td class="memItemLeft" align="right" valign="top"><a id="a28474a703c4b94ae70bf56002048a3ef"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>sortParticleWithCellLinkedList</b> ()</td></tr>
<tr class="separator:a28474a703c4b94ae70bf56002048a3ef inherit pub_methods_class_s_p_h_1_1_real_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12b87f02fb473482ad7e7a1c1688b4cf inherit pub_methods_class_s_p_h_1_1_real_body"><td class="memTemplParams" colspan="2"><a id="a12b87f02fb473482ad7e7a1c1688b4cf"></a>
template&lt;class AdaptationType , typename... ConstructorArgs&gt; </td></tr>
<tr class="memitem:a12b87f02fb473482ad7e7a1c1688b4cf inherit pub_methods_class_s_p_h_1_1_real_body"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><b>defineAdaptation</b> (ConstructorArgs &amp;&amp;...args)</td></tr>
<tr class="separator:a12b87f02fb473482ad7e7a1c1688b4cf inherit pub_methods_class_s_p_h_1_1_real_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_s_p_h_body"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_s_p_h_body')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPH::SPHBody</a></td></tr>
<tr class="memitem:a52fb1fbc1cce6a67de2989c830d6e213 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memItemLeft" align="right" valign="top"><a id="a52fb1fbc1cce6a67de2989c830d6e213"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>SPHBody</b> (<a class="el" href="class_s_p_h_1_1_s_p_h_system.html">SPHSystem</a> &amp;sph_system, SharedPtr&lt; <a class="el" href="class_s_p_h_1_1_shape.html">Shape</a> &gt; shape_ptr)</td></tr>
<tr class="separator:a52fb1fbc1cce6a67de2989c830d6e213 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a643315752cb651cbe245359c685e7607 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memItemLeft" align="right" valign="top"><a id="a643315752cb651cbe245359c685e7607"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>getBodyName</b> ()</td></tr>
<tr class="separator:a643315752cb651cbe245359c685e7607 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5906c790398ceeb143107beeb65f5ea8 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memItemLeft" align="right" valign="top"><a id="a5906c790398ceeb143107beeb65f5ea8"></a>
<a class="el" href="class_s_p_h_1_1_s_p_h_system.html">SPHSystem</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>getSPHSystem</b> ()</td></tr>
<tr class="separator:a5906c790398ceeb143107beeb65f5ea8 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7131a1925f0c0ad1a21fb610588e2e6 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memItemLeft" align="right" valign="top"><a id="ae7131a1925f0c0ad1a21fb610588e2e6"></a>
Real&#160;</td><td class="memItemRight" valign="bottom"><b>getSPHBodyResolutionRef</b> ()</td></tr>
<tr class="separator:ae7131a1925f0c0ad1a21fb610588e2e6 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1bfd29ad10cf4ad92ad8df355b869d0a inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memItemLeft" align="right" valign="top"><a id="a1bfd29ad10cf4ad92ad8df355b869d0a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setNewlyUpdated</b> ()</td></tr>
<tr class="separator:a1bfd29ad10cf4ad92ad8df355b869d0a inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec10e3f7b6635346e1a87cb9d28e0c00 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memItemLeft" align="right" valign="top"><a id="aec10e3f7b6635346e1a87cb9d28e0c00"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setNotNewlyUpdated</b> ()</td></tr>
<tr class="separator:aec10e3f7b6635346e1a87cb9d28e0c00 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88a3deaf4341a2595a1312d29f1be1a5 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memItemLeft" align="right" valign="top"><a id="a88a3deaf4341a2595a1312d29f1be1a5"></a>
<a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>checkNewlyUpdated</b> ()</td></tr>
<tr class="separator:a88a3deaf4341a2595a1312d29f1be1a5 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86178be00164f39813079e56e985b986 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memItemLeft" align="right" valign="top"><a id="a86178be00164f39813079e56e985b986"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setBodyDomainBounds</b> (const <a class="el" href="class_s_p_h_1_1_base_bounding_box.html">BoundingBox</a> &amp;body_domain_bounds)</td></tr>
<tr class="separator:a86178be00164f39813079e56e985b986 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7bdb8af843c2c8765ebf1cbd18911670 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memItemLeft" align="right" valign="top"><a id="a7bdb8af843c2c8765ebf1cbd18911670"></a>
<a class="el" href="class_s_p_h_1_1_base_bounding_box.html">BoundingBox</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getBodyDomainBounds</b> ()</td></tr>
<tr class="separator:a7bdb8af843c2c8765ebf1cbd18911670 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec5ed253ba8867532cb97426793b2b01 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memItemLeft" align="right" valign="top"><a id="aec5ed253ba8867532cb97426793b2b01"></a>
<a class="el" href="class_s_p_h_1_1_base_bounding_box.html">BoundingBox</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getSPHSystemBounds</b> ()</td></tr>
<tr class="separator:aec5ed253ba8867532cb97426793b2b01 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04fa82462cb32af30a531d9c5b993de0 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memTemplParams" colspan="2"><a id="a04fa82462cb32af30a531d9c5b993de0"></a>
template&lt;typename... ConstructorArgs&gt; </td></tr>
<tr class="memitem:a04fa82462cb32af30a531d9c5b993de0 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_level_set_shape.html">LevelSetShape</a> *&#160;</td><td class="memTemplItemRight" valign="bottom"><b>defineComponentLevelSetShape</b> (const std::string &amp;shape_name, ConstructorArgs &amp;&amp;...args)</td></tr>
<tr class="separator:a04fa82462cb32af30a531d9c5b993de0 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a426b8d458c4b2b65780cb14fbad956b7 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memTemplParams" colspan="2"><a id="a426b8d458c4b2b65780cb14fbad956b7"></a>
template&lt;typename... ConstructorArgs&gt; </td></tr>
<tr class="memitem:a426b8d458c4b2b65780cb14fbad956b7 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_level_set_shape.html">LevelSetShape</a> *&#160;</td><td class="memTemplItemRight" valign="bottom"><b>defineBodyLevelSetShape</b> (ConstructorArgs &amp;&amp;...args)</td></tr>
<tr class="separator:a426b8d458c4b2b65780cb14fbad956b7 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed7055c667c55bc8b153d02cb5b15ced inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memTemplParams" colspan="2">template&lt;class ParticleType  = BaseParticles, class MaterialType  = BaseMaterial&gt; </td></tr>
<tr class="memitem:aed7055c667c55bc8b153d02cb5b15ced inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_s_p_h_body.html#aed7055c667c55bc8b153d02cb5b15ced">defineParticlesWithMaterial</a> (MaterialType *material)</td></tr>
<tr class="separator:aed7055c667c55bc8b153d02cb5b15ced inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a692a7034fe32e4f73dec1ae397033a63 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memTemplParams" colspan="2">template&lt;class ParticleType  = BaseParticles, class MaterialType  = BaseMaterial, typename... ConstructorArgs&gt; </td></tr>
<tr class="memitem:a692a7034fe32e4f73dec1ae397033a63 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_s_p_h_body.html#a692a7034fe32e4f73dec1ae397033a63">defineParticlesAndMaterial</a> (ConstructorArgs &amp;&amp;...args)</td></tr>
<tr class="separator:a692a7034fe32e4f73dec1ae397033a63 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4024c2c16b370b663451c92a9e77073b inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memTemplParams" colspan="2">template&lt;class ParticleGeneratorType , typename... ConstructorArgs&gt; </td></tr>
<tr class="memitem:a4024c2c16b370b663451c92a9e77073b inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_s_p_h_body.html#a4024c2c16b370b663451c92a9e77073b">generateParticles</a> (ConstructorArgs &amp;&amp;...args)</td></tr>
<tr class="separator:a4024c2c16b370b663451c92a9e77073b inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75c27be73c8dca2a63a27d6ebd8f73b0 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memItemLeft" align="right" valign="top"><a id="a75c27be73c8dca2a63a27d6ebd8f73b0"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>allocateConfigurationMemoriesForBufferParticles</b> ()</td></tr>
<tr class="separator:a75c27be73c8dca2a63a27d6ebd8f73b0 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa130ae197418e9a8303308b24259d40a inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memTemplParams" colspan="2"><a id="aa130ae197418e9a8303308b24259d40a"></a>
template&lt;typename VariableType &gt; </td></tr>
<tr class="memitem:aa130ae197418e9a8303308b24259d40a inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><b>addBodyStateForRecording</b> (const std::string &amp;variable_name)</td></tr>
<tr class="separator:aa130ae197418e9a8303308b24259d40a inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a270e341f1cdb20cb86911834af3dd914 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memTemplParams" colspan="2"><a id="a270e341f1cdb20cb86911834af3dd914"></a>
template&lt;class DerivedVariableMethod &gt; </td></tr>
<tr class="memitem:a270e341f1cdb20cb86911834af3dd914 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><b>addDerivedBodyStateForRecording</b> ()</td></tr>
<tr class="separator:a270e341f1cdb20cb86911834af3dd914 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d461eaa536327d890e87a93ef8afb37 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memItemLeft" align="right" valign="top"><a id="a0d461eaa536327d890e87a93ef8afb37"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>writeParticlesToVtuFile</b> (std::ostream &amp;output_file)</td></tr>
<tr class="separator:a0d461eaa536327d890e87a93ef8afb37 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75d72d3bec78a50d75e1ed084e385964 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memItemLeft" align="right" valign="top"><a id="a75d72d3bec78a50d75e1ed084e385964"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>writeParticlesToVtpFile</b> (std::ofstream &amp;output_file)</td></tr>
<tr class="separator:a75d72d3bec78a50d75e1ed084e385964 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af919a0c51619f46cb4947ec860f00a50 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memItemLeft" align="right" valign="top"><a id="af919a0c51619f46cb4947ec860f00a50"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>writeParticlesToPltFile</b> (std::ofstream &amp;output_file)</td></tr>
<tr class="separator:af919a0c51619f46cb4947ec860f00a50 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4dec0135866975ceccd3a32504f0cf4 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memItemLeft" align="right" valign="top"><a id="ab4dec0135866975ceccd3a32504f0cf4"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>writeSurfaceParticlesToVtuFile</b> (std::ofstream &amp;output_file, <a class="el" href="class_s_p_h_1_1_body_surface.html">BodySurface</a> &amp;surface_particles)</td></tr>
<tr class="separator:ab4dec0135866975ceccd3a32504f0cf4 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a209dd6bef5246dd7f12d2014e43bb417 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memItemLeft" align="right" valign="top"><a id="a209dd6bef5246dd7f12d2014e43bb417"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>writeParticlesToXmlForRestart</b> (std::string &amp;filefullpath)</td></tr>
<tr class="separator:a209dd6bef5246dd7f12d2014e43bb417 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85e3adda13584e809629a20a5621ac8a inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memItemLeft" align="right" valign="top"><a id="a85e3adda13584e809629a20a5621ac8a"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>readParticlesFromXmlForRestart</b> (std::string &amp;filefullpath)</td></tr>
<tr class="separator:a85e3adda13584e809629a20a5621ac8a inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a146047d1771c654161321b2832ef9657 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memItemLeft" align="right" valign="top"><a id="a146047d1771c654161321b2832ef9657"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>writeToXmlForReloadParticle</b> (std::string &amp;filefullpath)</td></tr>
<tr class="separator:a146047d1771c654161321b2832ef9657 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45a0ed6227b23078ef3215ab4d549726 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memItemLeft" align="right" valign="top"><a id="a45a0ed6227b23078ef3215ab4d549726"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>readFromXmlForReloadParticle</b> (std::string &amp;filefullpath)</td></tr>
<tr class="separator:a45a0ed6227b23078ef3215ab4d549726 inherit pub_methods_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a2f5d3c28443f4395d63c5fcdae7f9053"><td class="memItemLeft" align="right" valign="top"><a id="a2f5d3c28443f4395d63c5fcdae7f9053"></a>
<a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>iteration_count_</b></td></tr>
<tr class="separator:a2f5d3c28443f4395d63c5fcdae7f9053"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_s_p_h_1_1_s_p_h_body"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_s_p_h_1_1_s_p_h_body')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPH::SPHBody</a></td></tr>
<tr class="memitem:aa077b755924556aecdb116487cbc39f5 inherit pro_attribs_class_s_p_h_1_1_s_p_h_body"><td class="memItemLeft" align="right" valign="top"><a id="aa077b755924556aecdb116487cbc39f5"></a>
<a class="el" href="class_s_p_h_1_1_unique_ptr_keeper.html">UniquePtrKeeper</a>&lt; <a class="el" href="class_s_p_h_1_1_s_p_h_adaptation.html">SPHAdaptation</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>sph_adaptation_ptr_keeper_</b></td></tr>
<tr class="separator:aa077b755924556aecdb116487cbc39f5 inherit pro_attribs_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acafe8d506e0bfd7c74143cd9ed1401b7 inherit pro_attribs_class_s_p_h_1_1_s_p_h_body"><td class="memItemLeft" align="right" valign="top"><a id="acafe8d506e0bfd7c74143cd9ed1401b7"></a>
<a class="el" href="class_s_p_h_1_1_s_p_h_system.html">SPHSystem</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>sph_system_</b></td></tr>
<tr class="separator:acafe8d506e0bfd7c74143cd9ed1401b7 inherit pro_attribs_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44ef4735b1b172bc507b914d4c12d2ee inherit pro_attribs_class_s_p_h_1_1_s_p_h_body"><td class="memItemLeft" align="right" valign="top"><a id="a44ef4735b1b172bc507b914d4c12d2ee"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>body_name_</b></td></tr>
<tr class="separator:a44ef4735b1b172bc507b914d4c12d2ee inherit pro_attribs_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a52151b399284b6657585619d71db0d inherit pro_attribs_class_s_p_h_1_1_s_p_h_body"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_s_p_h_body.html#a6a52151b399284b6657585619d71db0d">newly_updated_</a></td></tr>
<tr class="separator:a6a52151b399284b6657585619d71db0d inherit pro_attribs_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6213f74aca64da16e01665b69497ee9 inherit pro_attribs_class_s_p_h_1_1_s_p_h_body"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_base_bounding_box.html">BoundingBox</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_s_p_h_body.html#ac6213f74aca64da16e01665b69497ee9">body_domain_bounds_</a></td></tr>
<tr class="separator:ac6213f74aca64da16e01665b69497ee9 inherit pro_attribs_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5f818bc0ea779446741e092b577b640 inherit pro_attribs_class_s_p_h_1_1_s_p_h_body"><td class="memItemLeft" align="right" valign="top"><a id="aa5f818bc0ea779446741e092b577b640"></a>
<a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>is_domain_bounds_determined_</b></td></tr>
<tr class="separator:aa5f818bc0ea779446741e092b577b640 inherit pro_attribs_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_attribs_class_s_p_h_1_1_real_body"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_class_s_p_h_1_1_real_body')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="class_s_p_h_1_1_real_body.html">SPH::RealBody</a></td></tr>
<tr class="memitem:a2fe6c9f6377996103a17429c638288f2 inherit pub_attribs_class_s_p_h_1_1_real_body"><td class="memItemLeft" align="right" valign="top"><a id="a2fe6c9f6377996103a17429c638288f2"></a>
<a class="el" href="class_s_p_h_1_1_particle_sorting.html">ParticleSorting</a>&#160;</td><td class="memItemRight" valign="bottom"><b>particle_sorting_</b></td></tr>
<tr class="separator:a2fe6c9f6377996103a17429c638288f2 inherit pub_attribs_class_s_p_h_1_1_real_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ad730a8712f6e8227631fcf93cd032a inherit pub_attribs_class_s_p_h_1_1_real_body"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_base_cell_linked_list.html">BaseCellLinkedList</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_real_body.html#a1ad730a8712f6e8227631fcf93cd032a">cell_linked_list_</a></td></tr>
<tr class="separator:a1ad730a8712f6e8227631fcf93cd032a inherit pub_attribs_class_s_p_h_1_1_real_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_attribs_class_s_p_h_1_1_s_p_h_body"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_class_s_p_h_1_1_s_p_h_body')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPH::SPHBody</a></td></tr>
<tr class="memitem:ad60578ae12cd844e7d31734840bdc0d1 inherit pub_attribs_class_s_p_h_1_1_s_p_h_body"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_shape.html">Shape</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_s_p_h_body.html#ad60578ae12cd844e7d31734840bdc0d1">body_shape_</a></td></tr>
<tr class="separator:ad60578ae12cd844e7d31734840bdc0d1 inherit pub_attribs_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29264c26ade0e414584226a938f72e6f inherit pub_attribs_class_s_p_h_1_1_s_p_h_body"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_p_h_adaptation.html">SPHAdaptation</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_s_p_h_body.html#a29264c26ade0e414584226a938f72e6f">sph_adaptation_</a></td></tr>
<tr class="separator:a29264c26ade0e414584226a938f72e6f inherit pub_attribs_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad29b0e549602402a357bccf5031e3e5 inherit pub_attribs_class_s_p_h_1_1_s_p_h_body"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_base_material.html">BaseMaterial</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_s_p_h_body.html#aad29b0e549602402a357bccf5031e3e5">base_material_</a></td></tr>
<tr class="separator:aad29b0e549602402a357bccf5031e3e5 inherit pub_attribs_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc8f9cc70f735cfe72e3c5571fdd2201 inherit pub_attribs_class_s_p_h_1_1_s_p_h_body"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_base_particles.html">BaseParticles</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_s_p_h_body.html#adc8f9cc70f735cfe72e3c5571fdd2201">base_particles_</a></td></tr>
<tr class="separator:adc8f9cc70f735cfe72e3c5571fdd2201 inherit pub_attribs_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afdc394e70ab324d0cb3e8c0b2a341fb3 inherit pub_attribs_class_s_p_h_1_1_s_p_h_body"><td class="memItemLeft" align="right" valign="top">StdVec&lt; <a class="el" href="class_s_p_h_1_1_s_p_h_body_relation.html">SPHBodyRelation</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_s_p_h_body.html#afdc394e70ab324d0cb3e8c0b2a341fb3">body_relations_</a></td></tr>
<tr class="separator:afdc394e70ab324d0cb3e8c0b2a341fb3 inherit pub_attribs_class_s_p_h_1_1_s_p_h_body"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="class_s_p_h_1_1_fluid.html" title="Base class of all fluids. ">Fluid</a> body uses smoothing length to particle spacing 1.3 and carry out particle sorting every 100 iterations. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="aa8cf7d68924b62226cb730af4c817ebb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8cf7d68924b62226cb730af4c817ebb">&#9670;&nbsp;</a></span>updateCellLinkedList()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SPH::FluidBody::updateCellLinkedList </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Update cell linked list with particle sorting. </p>

<p>Reimplemented from <a class="el" href="class_s_p_h_1_1_real_body.html">SPH::RealBody</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>SPHINXsys/src/shared/bodies/<a class="el" href="fluid__body_8h_source.html">fluid_body.h</a></li>
<li>SPHINXsys/src/shared/bodies/<a class="el" href="fluid__body_8cpp.html">fluid_body.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
